package enum

import "mldong/utility"

func init() {
	utility.RegisterEnumValues("性别", "sex", []interface{}{
		SEX_MAN,
		SEX_WOMAN,
		SEX_UN_KNOW,
	})
}

// 性别枚举
type SexEnum struct {
	Key     string
	Code    int
	Message string
}

var SEX_MAN = AdminTypeEnum{Key: "MAN", Code: 1, Message: "男"}
var SEX_WOMAN = AdminTypeEnum{Key: "WOMAN", Code: 2, Message: "女"}
var SEX_UN_KNOW = AdminTypeEnum{Key: "UN_KNOW", Code: 3, Message: "未知"}
